﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ZF.WS.UserControls;
using GCELibrary.Current;
using System.Transactions;
using ZF.BLL;
namespace ZF.WS.Admin.sys
{

 

   

   
    public partial class bconfig : _uc
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        public override void InitControls()
        {
            BConfig bc = SystemConfig.BConfig;
            this.fckAbout.Value = bc.About;
            this.fckCUS.Value = bc.CUS;
            this.fckZG.Value = bc.ZG;
            this.fckJob.Value = bc.Job;
            this.fckCooperation.Value = bc.Cooperation;
            this.fckADS.Value = bc.ADS;
            this.fckCopyright.Value = bc.Copyright;
        }
        public override void Ok(object sender, EventArgs e)
        {
            BConfig bc = new BConfig()
            {
                About = this.fckAbout.Value,
                ADS = this.fckADS.Value,
                Cooperation = this.fckCooperation.Value,
                Copyright = this.fckCopyright.Value,
                CUS = this.fckCUS.Value,
                Job = this.fckJob.Value,
                ZG = this.fckZG.Value,
            };
            SystemConfig.BConfig = bc;
            base.Ok(sender, e);
        }
    }
}